package for_test;

import for_test.IntComparator;

public class AbsComparator implements IntComparator {
	
	IntComparator comparator;
	

	public AbsComparator(IntComparator comparator) {
		this.comparator = comparator;
	}

	public int compare(int i, int j) {
		return comparator.compare(Math.abs(i), Math.abs(j));
	}

}
